using System;
using System.Collections.Generic;
using SinBiota.Model.Entities;

namespace SinBiota.Model.Business.PersistenceServices.Interfaces
{
    public interface IMunicipalityPersistenceServices
    {
        Municipality FindById(int id);
        Municipality FindByName(string name);
        IList<Municipality> FindAll();
        void Delete(Municipality municipality);
        void DeleteById(int id);
        void Save(Municipality municipality);
        void Update(Municipality municipality);
        IList<Municipality> FindByState(State state);
        IList<Municipality> FindByNameLike(string name, State? state);
    }
}